package org.nanotek.musicbrainz.dao.spring.impl;

import java.util.List;

import org.nanotek.Base;
import org.nanotek.dao.spring.impl.GeneralPurposeDAO;
import org.nanotek.musicbrainz.beans.ArtistCreditName;
import org.nanotek.musicbrainz.dao.ArtistCreditNameDAO;

public class ArtistCreditNameDAOImpl extends GeneralPurposeDAO implements ArtistCreditNameDAO<ArtistCreditName>{

	@Override
	public List<Base<?>> loadAll() {
		return getHibernateTemplate().loadAll(clazz);
	}
	
	
	public ArtistCreditName findById (String id)
	{ 
		return (ArtistCreditName) getHibernateTemplate().get(clazz, id);
	}


}
